<template>
	<button @click="handle">绑定事件</button>
</template>

<script>
export default {
	methods: {
		handle() {
			console.log("点击成功");
		},
	},
};
</script>